.NET Framework Class Library |
Partitioner<(Of <(TSource>)>)..::.GetPartitions Method |
Partitioner<(Of <(TSource>)>) Class See Also Send Feedback |
Partitions the underlying collection into the given number of partitions.
Namespace:
System.Collections.Concurrent
Assembly:
System.Threading (in System.Threading.dll)
Syntax
Visual Basic (Declaration) |
---|
Public MustOverride Function GetPartitions ( _ partitionCount As Integer _ ) As IList(Of IEnumerator(Of TSource)) |
C# |
---|
public abstract IList<IEnumerator<TSource>> GetPartitions( int partitionCount ) |
Parameters
- partitionCount
- Type: System..::.Int32
The number of partitions to create.